package day012.duotai.demo03;

public abstract class Animal {
    private String bread;
    private String color;

    public Animal(){

    }

    public Animal(String bread,String color){
        this.bread=bread;
        this.color=color;
    }

    public String getBread() {
        return bread;
    }

    public void setBread(String bread) {
        this.bread = bread;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public abstract void eat();
}
